package com.mallcai.bigdata.ladon.dpl.mapper.peekdata;

import com.mallcai.bigdata.ladon.dpl.entity.peekdata.ModelSchema;
import com.mallcai.bigdata.ladon.dpl.mapper.peekdata.provider.ModelSchemaSqlProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author feixy
 * @version 1.0
 * @date 2019-06-26 20:08
 */
@Repository
public interface ModelSchemaMapper {

    @SelectProvider(type = ModelSchemaSqlProvider.class, method = "getByParams")
    List<ModelSchema> getByParams(@Param("params") Map<String, Object> params);
}
